package com.nengchuan.eic.nceconomy.entity.dto;

import com.nengchuan.model.dto.PageDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

/**
 * @description: SwFilePageDTO
 * @author: panwen
 * @create: 2020/05/25 15:11
 * @version：1.0.0
 */
@ApiModel
@Data
public class SwFilePageDTO extends PageDTO {

    @ApiModelProperty("目录ID")
    @Min(value = 1,message = "ID不能小于1")
    private Long directoryId;

    @ApiModelProperty(value = "文件类型 1-GIM模型  2-DGN模型")
    @Max(value = 2,message = "文件类型值范围为1~2")
    @Min(value = 1,message = "文件类型值范围为1~2")
    private Integer fileType;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "项目类型 1-线路工程 2-安装工程")
    @Min(1)
    @Max(2)
    private Integer projectType;


    @ApiModelProperty(value = "计算状态 1-未计算 2-计算中 3-计算成功 4-计算失败")
    @Min(1)
    @Max(4)
    private Integer computeStatus;



}
